Loses its head in the morning

Riddle
What loses its head in the morning and gets it back at night?

    Answer:Pillow.